unity set material

81

unity set material -

// in the Start() method
Material yourMaterial = Resources.Load("red", typeof(Material)) as Material;

Comments

Submit
0 Comments